package com.collect.senegal.zhiBean.zhiReceive;

import com.collect.senegal.zhiUtils.StringUtil;

import java.io.Serializable;
import java.util.ArrayList;

public class ZHIRCollectGrouperPerformanceListEntity implements Serializable {
    private String bonus;
    private ArrayList<ZHIRCollecterPerformanceEntity> part1List;
    private ArrayList<ZHIRCollecterPerformanceEntity> part2List;

    //v2
    private String totalMonthBonus;
    private String totalTodayAssignNum;
    private String totalTodayAssignAmount;
    private String totalTodayTaskNum;
    private String totalTodayTaskAmount;
    private String totalTodayRepayNum;
    private String totalTodayRepayAmount;
    private String totalTodayBonus;
    private String totalTodayPenalty;
    private String totalTodayActualBonus;

    private ArrayList<ZHIRCollecterPerformanceEntity> dataList;
    private ArrayList<ZHIRCollecterPerformanceEntity> leaderDataList;

    public String getBonus() {
        return StringUtil.safeString(bonus);
    }

    public String getBonusFormat() {
        return StringUtil.numberTothousandFormatter(getBonus());
    }

    public void setBonus(String bonus) {
        this.bonus = bonus;
    }

    public ArrayList<ZHIRCollecterPerformanceEntity> getPart1List() {
        if (part1List == null) {
            part1List = new ArrayList<>();
        }
        return part1List;
    }

    public void setPart1List(ArrayList<ZHIRCollecterPerformanceEntity> part1List) {
        this.part1List = part1List;
    }

    public ArrayList<ZHIRCollecterPerformanceEntity> getPart2List() {
        if (part2List == null) {
            part2List = new ArrayList<>();
        }
        return part2List;
    }

    public void setPart2List(ArrayList<ZHIRCollecterPerformanceEntity> part2List) {
        this.part2List = part2List;
    }

    public String getTotalTodayAssignNum() {
        return StringUtil.safeString(totalTodayAssignNum);

    }

    public void setTotalTodayAssignNum(String totalTodayAssignNum) {
        this.totalTodayAssignNum = totalTodayAssignNum;
    }

    public String getTotalTodayTaskNum() {
        return StringUtil.safeString(totalTodayTaskNum);
    }

    public void setTotalTodayTaskNum(String totalTodayTaskNum) {
        this.totalTodayTaskNum = totalTodayTaskNum;
    }

    public String getTotalTodayRepayNum() {
        return StringUtil.safeString(totalTodayRepayNum);
    }

    public void setTotalTodayRepayNum(String totalTodayRepayNum) {
        this.totalTodayRepayNum = totalTodayRepayNum;
    }

    public String getTotalMonthBonus() {
        return StringUtil.safeString(totalMonthBonus);
    }

    public void setTotalMonthBonus(String totalMonthBonus) {
        this.totalMonthBonus = totalMonthBonus;
    }

    public String getTotalBonusFormat() {
        return StringUtil.numberTothousandFormatter(getTotalMonthBonus());
    }

    public String getTotalTodayBonus() {
        return StringUtil.safeString(totalTodayBonus);
    }

    public String getTotalTodayBonusFormat() {
        return StringUtil.numberTothousandFormatter(getTotalTodayBonus());
    }

    public void setTotalTodayBonus(String totalTodayBonus) {
        this.totalTodayBonus = totalTodayBonus;
    }

    public String getTotalTodayPenalty() {
        return StringUtil.safeString(totalTodayPenalty);
    }

    public String getTotalTodayPenaltyFormat() {
        return StringUtil.numberTothousandFormatter(getTotalTodayPenalty());
    }

    public void setTotalTodayPenalty(String totalTodayPenalty) {
        this.totalTodayPenalty = totalTodayPenalty;
    }

    public String getTotalTodayActualBonus() {
        return StringUtil.safeString(totalTodayActualBonus);
    }

    public String getTotalTodayActualBonusFormat() {
        return StringUtil.numberTothousandFormatter(getTotalTodayActualBonus());
    }

    public void setTotalTodayActualBonus(String totalTodayActualBonus) {
        this.totalTodayActualBonus = totalTodayActualBonus;
    }

    public ArrayList<ZHIRCollecterPerformanceEntity> getDataList() {
        if (dataList == null) {
            dataList = new ArrayList<>();
        }
        return dataList;
    }

    public void setDataList(ArrayList<ZHIRCollecterPerformanceEntity> dataList) {
        this.dataList = dataList;
    }

    public ArrayList<ZHIRCollecterPerformanceEntity> getLeaderDataList() {
        if (leaderDataList == null) {
            leaderDataList = new ArrayList<>();
        }
        return leaderDataList;
    }

    public void setLeaderDataList(ArrayList<ZHIRCollecterPerformanceEntity> leaderDataList) {
        this.leaderDataList = leaderDataList;
    }

    public String getTotalTodayAssignAmount() {
        return StringUtil.safeString(totalTodayAssignAmount);
    }

    public String getTotalTodayAssignAmountFormat(){
        return StringUtil.numberTothousandFormatter(getTotalTodayAssignAmount());
    }

    public void setTotalTodayAssignAmount(String totalTodayAssignAmount) {
        this.totalTodayAssignAmount = totalTodayAssignAmount;
    }

    public String getTotalTodayTaskAmount() {
        return StringUtil.safeString(totalTodayTaskAmount);
    }

    public String getTotalTodayTaskAmountFormat(){
        return StringUtil.numberTothousandFormatter(getTotalTodayTaskAmount());
    }

    public void setTotalTodayTaskAmount(String totalTodayTaskAmount) {
        this.totalTodayTaskAmount = totalTodayTaskAmount;
    }

    public String getTotalTodayRepayAmount() {
        return StringUtil.safeString(totalTodayRepayAmount);
    }

    public String getTotalTodayRepayAmountFormat(){
        return StringUtil.numberTothousandFormatter(getTotalTodayRepayAmount());
    }

    public void setTotalTodayRepayAmount(String totalTodayRepayAmount) {
        this.totalTodayRepayAmount = totalTodayRepayAmount;
    }
}
